<extend name="desktop_default/template/user/base_user" />
<block name="area_header">
    <link rel="stylesheet" href="__CSS__/user/wallet/style.css">
</block>

<block name="area_top">

</block>
<block name="user_top">

</block>
<block name="main_content">
    <div class="wallet">
        <div class="user-tab">
            <a href="{:U('mengwu/user/wallet/t/mengbi')}">萌币</a>
            <a href="{:U('mengwu/user/wallet/t/red_envelope')}">红包</a>
            <a href="{:U('mengwu/user/wallet/t/cash_coupon')}">优惠券</a>
            <a class="selected" href="{:U('mengwu/user/wallet/t/money')}">余额</a>
        </div>
        <div class="money">
            <div class="top-box">
                <div class="title">
                    <h2>我的余额</h2>
                </div>
                <div class="my-asset">
                    <div class="money">
                        {$wallet.account_balance}<em>元</em>
                    </div>
                    <div class="oper-btns">
                        <a class="btn btn-tixian" href="{:U('mengwu/user/wallet/t/apply')}">申请提现</a>
                        <a class="btn btn-bind" href="{:U('mengwu/user/wallet/t/bind')}">绑定收款账户</a>
                    </div>
                </div>
            </div>
            <div class="tixian-list">
                <table width="100%">
                    <thead>
                    <tr>
                        <th>业务号</th>
                        <th>金额</th>
                        <th>账户信息</th>
                        <th>时间</th>
                        <th>状态</th>
                        <th>操作</th>
                        <th>备注</th>
                    </tr>
                    </thead>
                    <tbody>
                    <empty name="apply">
                        <tr>
                            <td colspan="7" align="center">暂无提现记录</td>
                        </tr>
                        <else/>
                        <volist name="apply" id="vo">
                            <tr>
                                <td align="center">{$vo.create_time}{$vo.id}</td>
                                <td align="center">{$vo.money}</td>
                                <td align="center">{$vo.account_info.account}</td>
                                <td align="center">{$vo.create_time|date='Y-m-d H:i:s',###}</td>
                                <td align="center">
                                    <switch name="vo.valid_status">
                                        <case value="0">待审核</case>
                                        <case value="1">同意</case>
                                        <case value="2">驳回</case>
                                        <default />
                                    </switch>
                                </td>
                                <td align="center">无</td>
                                <td align="center">无</td>
                            </tr>
                        </volist>
                    </empty>

                    </tbody>
                </table>
            </div>
            <div class="tip">注：若提现失败，请联系客服处理</div>
            {$show}
        </div>

    </div>

</block>
<block name="area_footer">

</block>
